package cn.quevo.core.exception;

import cn.quevo.core.enums.ResultStatusEnum;

/**
 * Service异常
 *
 * @author July july_sky@foxmail.com
 * @date 2018-03-09 14:15:42
 * @Copyright ©2015-2035 湘豫(北京)科技有限公司. All Rights Reserved.
 * @version 1.0
 * @param null
 * @return
 */
public class ServiceException extends CheckParamsException {

    /**
     * 
     */
    private static final long serialVersionUID = 1109295166661994193L;

    public ServiceException() {
        super(ResultStatusEnum.SERVICE_EXCEPTION);
    }

    public ServiceException(String msg) {
        this(ResultStatusEnum.SERVICE_EXCEPTION.getCode(), msg);
    }

    public ServiceException(Integer code, String msg) {
        super(code, msg);
    }
}
